package com.atdfrz.secondshop.mapper;

import com.atdfrz.secondshop.dto.OrderItemDto;
import com.atdfrz.secondshop.pojo.OrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.atdfrz.secondshop.pojo.OrderDetail
 */
@Repository
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {
    /**
     * 根据订单号查询订单详情的数据（OrderItemDto）
      */
    List<OrderItemDto> findOrderItemDtoByOrderId(Long orderId);

}




